package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.GaPropagandaModfiyRecordMapper;
import com.ruoyi.system.domain.GaPropagandaModfiyRecord;
import com.ruoyi.system.service.IGaPropagandaModfiyRecordService;

/**
 * 宣传信息修改记录Service业务层处理
 * 
 * @author wzp
 * @date 2021-11-26
 */
@Service
public class GaPropagandaModfiyRecordServiceImpl implements IGaPropagandaModfiyRecordService 
{
    @Autowired
    private GaPropagandaModfiyRecordMapper gaPropagandaModfiyRecordMapper;

    /**
     * 查询宣传信息修改记录
     * 
     * @param id 宣传信息修改记录主键
     * @return 宣传信息修改记录
     */
    @Override
    public GaPropagandaModfiyRecord selectGaPropagandaModfiyRecordById(Long id)
    {
        return gaPropagandaModfiyRecordMapper.selectGaPropagandaModfiyRecordById(id);
    }

    /**
     * 查询宣传信息修改记录列表
     * 
     * @param gaPropagandaModfiyRecord 宣传信息修改记录
     * @return 宣传信息修改记录
     */
    @Override
    public List<GaPropagandaModfiyRecord> selectGaPropagandaModfiyRecordList(GaPropagandaModfiyRecord gaPropagandaModfiyRecord)
    {
        return gaPropagandaModfiyRecordMapper.selectGaPropagandaModfiyRecordList(gaPropagandaModfiyRecord);
    }

    /**
     * 新增宣传信息修改记录
     * 
     * @param gaPropagandaModfiyRecord 宣传信息修改记录
     * @return 结果
     */
    @Override
    public int insertGaPropagandaModfiyRecord(GaPropagandaModfiyRecord gaPropagandaModfiyRecord)
    {
        return gaPropagandaModfiyRecordMapper.insertGaPropagandaModfiyRecord(gaPropagandaModfiyRecord);
    }

    /**
     * 修改宣传信息修改记录
     * 
     * @param gaPropagandaModfiyRecord 宣传信息修改记录
     * @return 结果
     */
    @Override
    public int updateGaPropagandaModfiyRecord(GaPropagandaModfiyRecord gaPropagandaModfiyRecord)
    {
        return gaPropagandaModfiyRecordMapper.updateGaPropagandaModfiyRecord(gaPropagandaModfiyRecord);
    }

    /**
     * 批量删除宣传信息修改记录
     * 
     * @param ids 需要删除的宣传信息修改记录主键
     * @return 结果
     */
    @Override
    public int deleteGaPropagandaModfiyRecordByIds(Long[] ids)
    {
        return gaPropagandaModfiyRecordMapper.deleteGaPropagandaModfiyRecordByIds(ids);
    }

    /**
     * 删除宣传信息修改记录信息
     * 
     * @param id 宣传信息修改记录主键
     * @return 结果
     */
    @Override
    public int deleteGaPropagandaModfiyRecordById(Long id)
    {
        return gaPropagandaModfiyRecordMapper.deleteGaPropagandaModfiyRecordById(id);
    }
}
